import express from 'express';
const router = express.Router();

router.get('/getUserList', (req, res) => {
    let query = req.query
    res.json({
        status: 200,
        message: '登录成功',
        query,
        data: [
            {
                id: 1,
                name: '张三',
                age: 18,
                gender: '男',
                phone: '12345678901',
                email: 'zhangsan@example.com'
            },
            {
                id: 2,
                name: '李四',
                age: 20,
                gender: '女',
                phone: '12345678902',
                email: 'lisi@example.com'
            }
        ]
    })
})

export default router;